/*
 * @Descripttion: |
 * @version: 1.0
 * @Author: 王娆
 * @Date: 2020-08-23 01:36:12
 * @LastEditors: 王娆
 * @LastEditTime: 2020-08-27 18:39:04
 */
// get post delete put 统一处理参数
import axios from './request'

export const getUrl = (url, params) => {
  return axios.get(url, {
    params
  })
}

export const postUrl = (url, data) => {
  return axios.post(url, data)
}

export const deleteUrl = (url, params) => {
  return axios.delete(url, {
    params
  })
}

export const putUrl = (url, data) => {
  return axios.put(url, data)
}
